Optimal. Leaf size=270 \[ -\frac {\sqrt {1-x^3}}{-x+\sqrt {3}+1}-\frac {\sqrt {1-x^3}}{x}-\frac {\sqrt {2} (1-x) \sqrt {\frac {x^2+x+1}{\left (-x+\sqrt {3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac {-x-\sqrt {3}+1}{-x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt {\frac {1-x}{\left (-x+\sqrt {3}+1\right )^2}} \sqrt {1-x^3}}+\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} (1-x) \sqrt {\frac {x^2+x+1}{\left (-x+\sqrt {3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac {-x-\sqrt {3}+1}{-x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{2 \sqrt {\frac {1-x}{\left (-x+\sqrt {3}+1\right )^2}} \sqrt {1-x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 270, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {325, 303, 218, 1877} \[ -\frac {\sqrt {1-x^3}}{-x+\sqrt {3}+1}-\frac {\sqrt {1-x^3}}{x}-\frac {\sqrt {2} (1-x) \sqrt {\frac {x^2+x+1}{\left (-x+\sqrt {3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac {-x-\sqrt {3}+1}{-x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt {\frac {1-x}{\left (-x+\sqrt {3}+1\right )^2}} \sqrt {1-x^3}}+\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} (1-x) \sqrt {\frac {x^2+x+1}{\left (-x+\sqrt {3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac {-x-\sqrt {3}+1}{-x+\sqrt {3}+1}\right )|-7-4 \sqrt {3}\right )}{2 \sqrt {\frac {1-x}{\left (-x+\sqrt {3}+1\right )^2}} \sqrt {1-x^3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 218
Rule 303
Rule 325
Rule 1877
Rubi steps
\begin {align*} \int \frac {1}{x^2 \sqrt {1-x^3}} \, dx &=-\frac {\sqrt {1-x^3}}{x}-\frac {1}{2} \int \frac {x}{\sqrt {1-x^3}} \, dx\\ &=-\frac {\sqrt {1-x^3}}{x}+\frac {1}{2} \int \frac {1-\sqrt {3}-x}{\sqrt {1-x^3}} \, dx+\sqrt {\frac {1}{2} \left (2-\sqrt {3}\right )} \int \frac {1}{\sqrt {1-x^3}} \, dx\\ &=-\frac {\sqrt {1-x^3}}{1+\sqrt {3}-x}-\frac {\sqrt {1-x^3}}{x}+\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} (1-x) \sqrt {\frac {1+x+x^2}{\left (1+\sqrt {3}-x\right )^2}} E\left (\sin ^{-1}\left (\frac {1-\sqrt {3}-x}{1+\sqrt {3}-x}\right )|-7-4 \sqrt {3}\right )}{2 \sqrt {\frac {1-x}{\left (1+\sqrt {3}-x\right )^2}} \sqrt {1-x^3}}-\frac {\sqrt {2} (1-x) \sqrt {\frac {1+x+x^2}{\left (1+\sqrt {3}-x\right )^2}} F\left (\sin ^{-1}\left (\frac {1-\sqrt {3}-x}{1+\sqrt {3}-x}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt {\frac {1-x}{\left (1+\sqrt {3}-x\right )^2}} \sqrt {1-x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.00, size = 18, normalized size = 0.07 \[ -\frac {\, _2F_1\left (-\frac {1}{3},\frac {1}{2};\frac {2}{3};x^3\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.89, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sqrt {-x^{3} + 1}}{x^{5} - x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {-x^{3} + 1} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 173, normalized size = 0.64 \[ -\frac {\sqrt {-x^{3}+1}}{x}+\frac {i \sqrt {3}\, \sqrt {i \left (x +\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \sqrt {\frac {x -1}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \sqrt {-i \left (x +\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \left (\left (-\frac {3}{2}+\frac {i \sqrt {3}}{2}\right ) \EllipticE \left (\frac {\sqrt {3}\, \sqrt {i \left (x +\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}}{3}, \sqrt {\frac {i \sqrt {3}}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\right )+\EllipticF \left (\frac {\sqrt {3}\, \sqrt {i \left (x +\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}}{3}, \sqrt {\frac {i \sqrt {3}}{-\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\right )\right )}{3 \sqrt {-x^{3}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {-x^{3} + 1} x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.02, size = 245, normalized size = 0.91 \[ -\frac {\sqrt {1-x^3}}{x}+\frac {\left (\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\mathrm {F}\left (\mathrm {asin}\left (\sqrt {-\frac {x-1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )-\left (-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\mathrm {E}\left (\mathrm {asin}\left (\sqrt {-\frac {x-1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )\right )\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\sqrt {x^3-1}\,\sqrt {-\frac {x+\frac {1}{2}-\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {-\frac {x-1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}}{\sqrt {1-x^3}\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x+\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.36, size = 32, normalized size = 0.12 \[ \frac {\Gamma \left (- \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{3}, \frac {1}{2} \\ \frac {2}{3} \end {matrix}\middle | {x^{3} e^{2 i \pi }} \right )}}{3 x \Gamma \left (\frac {2}{3}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________